package com.educate.studentmanagementsystem.pojo.entity;

public class Course {
    private Integer courseId;
    private String name;
    private Integer teacherId;
    private Integer credit;

    public Course() {
    }

    public Course(String name, Integer courseId, Integer teacherId, Integer credit) {
        this.name = name;
        this.courseId = courseId;
        this.teacherId = teacherId;
        this.credit = credit;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseId=" + courseId +
                ", name='" + name + '\'' +
                ", teacherId=" + teacherId +
                ", credit=" + credit +
                '}';
    }
}
